/*
 * Copyright 2022-2029 heshuixing(https://gitee.com/heshuixing)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mercury.ec.framework.air.core.client.impl.qunar.dto.searchprice;

import com.mercury.ec.framework.air.core.client.impl.qunar.dto.QunarCommonReqDTO;
import lombok.Data;

/**
 * 去哪儿报价搜索请求参数
 *
 * @author hesx
 */
@Data
public class QunarSearchPriceReqDTO extends QunarCommonReqDTO {
    /**
     * 出发城市中文名
     * 例：广州
     */
    private String depCityName;
    /**
     * 到达城市中文名
     * 例：北京
     */
    private String arrCityName;
    /**
     * 航班号
     * 例：CZ9249
     */
    private String code;
    /**
     * 起飞日期
     * 例：2021-09-20
     */
    private String depDate;
    /**
     * 报价类型
     * 例：youxuan
     */
    private String exTrack = "youxuan";
    /**
     * 是否查询联程，只查直达传false
     */
    private boolean useUnion = false;

    @Override
    public String getTag() {
        return "flight.national.ndc.searchprice";
    }
}
